<include file="/public/header" />
<div class="layui-fluid">
  <div class="layui-card">
    <!-- // 默认操作按钮 -->
    <div class="layui-card-header layadmin-card-header-auto ">
      <div class="layui-form">
        <div class="layui-form-item">

          <div class="layui-inline">
            <div class="layui-input-inline ">
              <input id="filename" name="filename" class="layui-input" type="text" placeholder="{:__('关键字查询')}" />
            </div>
          </div>
          <div class="layui-inline">
            <!-- // 默认搜索 -->
            <button class="layui-btn icon-btn" id="file-search">
              <i class="layui-icon layui-icon-search"></i> {:__('搜索')}</button>
          </div>
        </div>
      </div>
    </div>

    <div id="files" class="layui-card">
      <div class="layui-card-body" >
        <div class="layui-tab layui-tab-brief">
          <ul class="layui-tab-title">
            <li class="layui-this" >全部</li>
            <li data-type="images">图片</li>
            <li data-type="video">视频</li>
            <li data-type="document">文档</li>
            <li data-type="files">其他</li>
          </ul>
          <div id="files-content"></div>
        </div>

        <div id="files-page"></div>
      </div>
    </div>
  </div>
</div>

<!-- // 列表工具栏 -->
<script type="text/html" id="tableBar">
  <a class="layui-table-text" data-url="{{d.url}}" lay-event="choose" >{:__('选择')}</a>
</script>

<include file="/public/footer" />